//
//  ShoppingZheKou_TableViewCell.m
//  DA_V
//
//  Created by 中亿世联前台 on 15/4/24.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import "ShoppingZheKou_TableViewCell.h"
#import "InterFace.h"
#import "ProductInfoModel.h"

@implementation ShoppingZheKou_TableViewCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)layoutSubviews{
    [super layoutSubviews];
    self.topLineView.layer.borderColor = BackColor.CGColor;
    self.topLineView.layer.borderWidth = 1.0;
    self.zheKouLabel.hidden = YES;
    self.weishangZheKouTitle.hidden = YES;
}

- (void)setWeiShangPrice:(id)data{
    if ([data isKindOfClass:[ProductInfoModel class]]) {
        ProductInfoModel *productInfoModel = data;
        
        self.merchantPrice.text = [NSString stringWithFormat:@"¥%.1f",productInfoModel.DiscountPrice.floatValue];

        NSLog(@"折扣价 ＝＝＝＝ %@",productInfoModel.DiscountPrice);
    }
}

@end
